Skip to main content

Set Workflow Result

Description

The Set Workflow Result is used to set the workflow result on AutomationEdge for the particular request.

Configurations

No.Field NameDescription
1Process Entry NameSpecify a unique name for the process entry on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name.
2SuccessBoolean value (true or false) can be set to define the request status (Success or Failure).
3StatusStatus can be set from one of the following: Complete, Failure or Diverted. Status can be set irrespective of value set in Success above.
4MessageSuccess or error message to be set for the request. Message is governed by the Success set above.
5Failure ReasonFailure reason can be set if success is false and status is failure. Choose from the fourteen failure reasons:

1. License invalid

2. Invalid request input

3. Invalid credentials

4. Invalid workflow

5. Agent stopped or restarted

6. Failed to connect to external system

7. Workflow failed to internal reason

8. Error while uploading/downloading file with server

9. Script exited with errors

10. Workflow failure set in OUTPUT.txt

11. Workflow instantiation failure

12. Exceeded maximum execution time

13. Too many pending requests

14. Unknown reason

6Total OperationsTotal number of operations performed
7SuccessfulNumber of successful operations performed
8Attribute 1Additional Attribute 1
9Attribute 2Additional Attribute 2
10Attribute 3Additional Attribute 3
11Attribute 4Additional Attribute 4
12Attribute 5Additional Attribute 5
13Attribute 6Additional Attribute 6
Output Parameters:
1VariableName of the variable to set.
2Display NameDisplay name of the variable as seen on AutomationEdge UI.
3TypeData type of the variable. You can select either, String or Hyperlink or AE-AppLink.

Note:

• If you select Hyperlink, then you can provide links to external sites. You can access the link through the Requests page in AE UI.

• If you select AE-AppLink, then you can provide the app ID, display text, and page details of the AE app in the Set Value (AE-AppLink) dialog, which the user can access through the AE UI.

For details about the apps, see AE Apps in the User Guide.

For more details about accessing the external sites or AE apps, see Requests in the User Guide.

4ValueProvide the value of the variable. Value could be static, field or a variable.

Note:

If the Type is:

• Hyperlink, then the Set Value (Hyperlink) dialog appears. In the dialog, enter the URL and the text you want to display for the URL in the Link and Display text fields,respectively.

- AE-AppLink, then the Set Value (AE-AppLink) dialog appears. In the dialog enter the app ID, display text, and page details of the AE connected app in the App id, Display text, and Page and Page parameters fields.